home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
comms
/
other
/
slrn
/
slrn_src
/
src
/
help.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-14
|
12KB
|
374 lines
/* Copyright (c) 1998 John E. Davis (davis@space.mit.edu)
*
* This file is part of slrn.
*
* Slrn is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2, or (at your option) any
* later version.
*
* Slrn is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with Slrn; see the file COPYING. If not, write to the Free
* Software Foundation, 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include "slrnfeat.h"
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <slang.h>
#include "jdmacros.h"
#include "slrn.h"
#include "misc.h"
#include "util.h"
static char *Global_Help [] =
{
" For more information about slrn, check out the newsgroups:",
" news.software.readers",
" alt.lang.s-lang",
" Email bug reports, suggestions, comments to davis@space.mit.edu",
"",
NULL
};
static char *Art_Help[] =
{
"Searching:",
" / Search forward in the article.",
" a Author search forward.",
" A Author search backward.",
" s Subject search forward.",
" S Subject search backward.",
" = Skip to next article of specified subject",
" ! Skip to next article with high score",
" ESC-l Locate header by message-id.",
"Commands that affect the article:",
" h Hide window (zoom header window)",
" SPACE Select article or scroll to next page",
" DEL, b Scroll article back one page",
" ESC-UP Scroll article up one line",
" ESC-DOWN Scroll article down one line",
" RIGHT Pan article to the right",
" LEFT Pan article to the left",
" W Wrap or Unwrap article",
" t Toggle on/off the display of unimportant headers.",
" T Toggle on/off the display of quoted lines.",
" TAB Skip beyond quoted text.",
" ESC-r Toggle ROT 13 decryption on and off.",
" g Skip to next digest article.",
" ESC Ctrl-C Cancel article (you must be the author).",
" ESC Ctrl-S Supersede article, allowing you to edit original text.",
#if SLRN_HAS_GROUPLENS
" 0 Assign article a GroupLens rating.",
#endif
"Posting, Replying, Printing, Piping, and Saving:",
" y Send the article to the printer",
" P Post a new article (NOT followup)",
" ESC P Post a postponed article",
" f Followup to current article.",
" Note: ESC 1 f ==> all headers will be inserted.",
" ESC 2 f ==> the message will be inserted without quoting.",
" F Forward the article to someone",
" r Reply to the poster",
" o Append the article, thread, or tagged articles to a file",
" : Decode article, numerically tagged articles, or thread.",
" # Numerically tag the article for saving/decoding.",
" ESC # Remove numerical tags.",
" | Pipe the article to an external command.",
"Commands that pertain to the header window:",
" d Mark article as read and move to next unread.",
" ESC-d Mark thread as read and move to next unread.",
" u Mark the article as unread",
" p Move to a previously unread article",
" n Move to the next unread article or next group if at end.",
" L Goto the article that was last read.",
" N Skip to next news group.",
" UP Move to the previous article",
" DOWN Move to the next article",
" ; Set a mark at current position",
" , Return to the previous mark setting mark first",
" q Quit back to group mode",
" Ctrl-^ Decrease the size of the header window by one line",
" ^ Increase the size of the header window by one line",
" ESC t Toggle collapse/uncollapse of thread",
" Note: A prefix argument may be used to operate on all threads.",
" ESC > Move to the end of the header list",
" ESC < Move to the beginning of the header list",
" Ctrl-U Perform Page-Up on the header window.",
" Ctrl-D Perform Page-Dn on the header window.",
" ESC-a Toggle header display format",
" ESC-s Select sort mode",
" ESC-p Find parent header reading from server if necessary",
" ESC 1 ESC p Reconstruct thread.",
" ESC Ctrl-P Find all children of current header (queries server)",
" c Catch-up (Mark ALL articles as read).",
" ESC-u Mark ALL articles as UN-read",
" C Mark articles TO the current position as read",
" ESC-U Mark articles TO current position as UN-read",
" K Create a score entry based on current header.",
" ESC 1 K Edit score file",
" * Mark header so it is un-affected by catchup commands.",
" ESC 1 * Un-mark all headers marked with '*'.",
" x Remove all read articles from list.",
"Miscellaneous:",
" . (Period) Repeat last key sequence",
" U Search for URL and follow it",
NULL
};
static char *Group_Help [] =
{
" Note: The keys are case sensitive! That is, 's' and 'S' are not the same.",
" Some commands take a prefix argument. This means press ESC, then",
" press a digit followed by desired command key sequence.",
"",
"Subscribing/Unsubscribing Hints:",
" 1. Press CAPITAL 'L' and enter the name of the groups to display, e.g.,",
" *.music.* to see all 'music' groups.",
" 2. Move to the group you want to subscribe to and then press 's'.",
" Repeat this step for each group.",
" 3. Press the Capital-L key again to display only subscribed groups.",
"Commands that affect the current group:",
" P Post an article to the current newsgroup",
" ESC P Post a postponed article",
" SPACE, RETURN Select the current newsgroup.",
" The following three variations permit viewing previously read articles:",
" ESC 1 SPACE Select group with article number query.",
" ESC 2 SPACE Select group but do not apply score.",
" ESC 3 SPACE Select group with query but do not apply score.",
" s Subscribe to the current newsgroup",
" ESC 1 s Subscribe to pattern",
" u Un-subscribe from the current newsgroup",
" ESC 1 u Un-subscribe to pattern",
" c Catchup-- mark all articles as read",
" ESC u Un-Catchup-- mark all articles as un-read",
"Movement Commands:",
" ESC < Move to top of the list",
" ESC > Move to bottom of the list",
" Ctrl-V, Ctrl-D Scroll to next page",
" ESC V, Ctrl-U Scroll to previous page",
" DOWN Move to next group",
" UP Move to previous group",
"Miscellaneous Commands:",
" a Add a new newsgroup (See 'L' help too!)",
" Ctrl-L, Ctrl-R Redraw the screen.",
" Ctrl-Z Suspend newsreader.",
" l Toggle listing of groups that have no unread articles.",
" L Toggle listing of unsubscribed groups.",
" ESC 1 L Hide unsubscribed groups",
" / Group keyword search. Use 'l' to search hidden groups.",
" q